module main(
	input Ir_Write,
	input PC_Write,
	input clk_im,
	input clk_n,
	input clk_25M,
	output [4:0] rs1,rs2,rd,
	output [3:0] AN,
	output [7:0] seg,
	output [6:0] opcode,
	output [2:0] funct3,
	output [6:0] funct7
    );
	wire [31:0] IR;
	wire [31:0] inst;
	wire [31:0] imm32;
	wire [31:0] PC;
	Get_Order myGet_Order(Ir_Write,PC_Write,IR,clk_im,clk_n,PC,inst);
	IDI myIDI(inst,rs1,rs2,rd,imm32,opcode,funct3,funct7);
	Display myDisplay(clk_25M,imm32,AN,seg);
	IM myIM(clk_im,PC[7:2],IR);
	
	
endmodule
